<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){

        $this->display();
        
    }


    public function test()
    {
    	$ArchivesModel = M("Archives");
    	$data = $ArchivesModel->select();
    	$this->assign('data', $data);

    	$this->display();
    }
}